/*--------------------------------*- C++ -*----------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  dev
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "system";
    object      controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

application     picFoam;

startFrom       startTime;

startTime       0;

stopAt          endTime;

endTime         1e-9;

deltaT          1e-12;

writeControl    runTime;

writeInterval   1e-10;

purgeWrite      0;

writeFormat     ascii;

writePrecision  10;

writeCompression off;

timeFormat      general;

timePrecision   6;

runTimeModifiable true;

adjustTimeStep  no;

functions
{
    fieldAverage1
    {
        type            fieldAverage;
        libs            ("libfieldFunctionObjects.so");
        writeControl    writeTime;

        fields
        (
            rhoN
            {
                mean        on;
                prime2Mean  off;
                base        iteration;
                window      5;
            }
            rhoM
            {
                mean        on;
                prime2Mean  off;
                base        iteration;
                window      50;
            }
            phi
            {
                mean        on;
                prime2Mean  off;
                base        iteration;
                window      50;
            }
        );
    }
    /*
    picFields1
    {
        type            picFields;
        libs            ("liblagrangianFunctionObjects.so");
        writeControl    writeTime;
    }
    */
}

// ************************************************************************* //
